STEP 8: Each time the loop runs, we'll need it to ask the user a question, wait, and then store the user's choice.

  • Change the parameter in .ask() to the variable question.
  • Drag Wait INSIDE the loop.
  • Drag Append INSIDE the loop.
  • Change the list name before .append() to user_choices and the variable to choice.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)